import LunbotuInsertView from '@/views/AsideView/lunbotu/lunbotuInsertView.vue'
import LunbotuListView from '@/views/AsideView/lunbotu/lunbotuListView.vue'
import ShangpinPublishView from '@/views/AsideView/shangpin/shangpinPublishView.vue'
import ShangpinListView from '@/views/AsideView/shangpin/shangpinListView.vue'
import GonggaoPublishView from '@/views/AsideView/gonggao/gonggaoPublishView.vue'
import GonggaoListView from '@/views/AsideView/gonggao/gonggaoListView.vue'
import UserAddView from '@/views/AsideView/user/userAddView.vue'
import UserListView from '@/views/AsideView/user/userListView.vue'
import UserInfoView from '@/views/AsideView/user/userInfoView.vue'
import AsideshouyeView from '@/views/AsideView/AsideshouyeView.vue'
import AdminListView from '@/views/AsideView/user/adminListView.vue'
import AdminAddView from '@/views/AsideView/user/adminAddView.vue'
import NoticeCategoryManagerView from '@/views/AsideView/notice/NoticeCategoryManagerView.vue'
import WenzhangAddView from '@/views/AsideView/kaoshi/wenzhangAddView.vue'
import WenzhangListView from '@/views/AsideView/kaoshi/wenzhangListView.vue'
import YonghuAddView from '@/views/AsideView/kaoshi/yonghuAddView.vue'
import YonghuListView from '@/views/AsideView/kaoshi/yonghuListView.vue'
import BumenAddView from '@/views/AsideView/bumen/bumenAddView.vue'
import BumenListView from '@/views/AsideView/bumen/bumenListView.vue'

const menuArr = [
        {
          path: '/shouye',
          name: 'shouye',
          title: '首页',
          component: AsideshouyeView,
        },
        {
          path: '/lunbotu',
          name: 'lunbotu',
          title: '轮播图',
          children: [
            { path: '/lunbotu/insert', title:"轮播图添加",component: LunbotuInsertView },
            { path: '/lunbotu/list', title:"轮播图列表",component: LunbotuListView },
          ],
        },
        {
          path: '/shangpin',
          name: 'shangpin',
          title: '商品',
          children: [
            { path: '/shangpin/publish', title:"商品发布",component: ShangpinPublishView},
            { path: '/shangpin/list', title:"商品列表",component: ShangpinListView },
          ],
        },
        {
          path: '/gonggao',
          name: 'gonggao',
          title: '公告',
          children: [
            { path: '/notice/category',title:"公告分类发布", component:NoticeCategoryManagerView},
            { path: '/gonggao/publish',title:"公告发布", component: GonggaoPublishView },
            { path: '/gonggao/view', title:"公告列表",component: GonggaoListView },
          ],
        },
        {
          path: '/user',
          name: 'user',
          title: '用户',
          children: [
            { path: '/user/add', title:"用户添加",component: UserAddView },
            { path: '/user/list', title:"用户列表",component: UserListView },
            { path: '/user/info',title:"用户信息", component: UserInfoView },
            { path: '/user/admin/add',title:"添加管理员", component: AdminAddView },
            { path: '/user/admin',title:"管理员列表信息", component: AdminListView },
          ],
        },
        {
          path: '/bumen',
          name: 'bumen',
          title: '部门管理',
          children: [
            { path: '/bumen/add', title:"部门添加",component: BumenAddView },
            { path: '/bumen/list', title:"部门列表",component: BumenListView },
          ],
        },
        {
          path: '/kaoshi',
          name: 'kaoshi',
          title: '考试的重写',
          children: [
            { path: '/kaoshi/wenzhang/add', title:"文章添加",component: WenzhangAddView },
            { path: '/kaoshi/wenzhang/list', title:"文章列表",component: WenzhangListView },
            { path: '/kaoshi/yonghu/add', title:"用户添加",component: YonghuAddView },
            { path: '/kaoshi/yonghu/list', title:"用户列表",component: YonghuListView },
            ],
        },

      ]

export default menuArr;
